﻿@{
    Layout = null;
}
@model MVC4App.Areas.Auth.Models.LoginModel
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link rel="stylesheet" type="text/css" href="/Content/themes/admin/css/common.css" />
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")
    <title>Đăng nhập</title>
</head>
<body>
    <div class="login">
        <div class="log_ads">
            <img src="/Content/themes/admin/images/Outlook_SISU Refresh_Mobile Lifestyle_SISU_JPEG_ENUS_475x340.jpg" alt="" />
        </div>
        <div class="log_main">
            <div class="log_logo">
                <img src="/Content/themes/admin/images/logo_mail.png" alt="logo" />
            </div>
            @using (Html.BeginForm())
            {
                @Html.ValidationSummary(true)
                <div class="log_form">
                    <div class="row">
                        @Html.TextBoxFor(x => x.UserName, new { @class = "text text_small", @placeholder = @NmResources.AdminResource.lbUserName })
                    </div>
                    <div>
                        @Html.ValidationMessageFor(x => x.UserName)
                    </div>
                    <div class="row">
                        @Html.PasswordFor(x => x.Password, new { @class = "text text_small", @placeholder = @NmResources.AdminResource.lbPassword })
                    </div>
                    <div>
                        @Html.ValidationMessageFor(x => x.Password)
                    </div>
                    <div class="row">
                        @Html.CheckBoxFor(x => x.Remember) @NmResources.AdminResource.lbRemember
                    </div>
                    <div class="row">
                        <input type="submit" class="button" value="Đăng nhập" />
                    </div>
                    <div class="row">
                        @Html.ActionLink(NmResources.AdminResource.lbForgotPassword, "Login", "Auth")
                        <a href="#">Quên mật khẩu ?</a>
                    </div>
                </div>
                @Html.AntiForgeryToken()
            }
        </div>
        <div class="clear"></div>
    </div>
</body>
</html>
